package com.ruoyi.ftrl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 温控阀采集数据对象 control_valve
 * 
 * @author dihang
 * @date 2024-08-08
 */
public class ControlValve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String intemp1;
    private String intemp2;
    private String outtemp1;
    private String outtemp2;
    private String  temp1;
    private String temp2;
    private String homeType;
    private String area;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getHomeType() {
        return homeType;
    }

    public void setHomeType(String homeType) {
        this.homeType = homeType;
    }

    public String getIntemp1() {
        return intemp1;
    }

    public void setIntemp1(String intemp1) {
        this.intemp1 = intemp1;
    }

    public String getIntemp2() {
        return intemp2;
    }

    public void setIntemp2(String intemp2) {
        this.intemp2 = intemp2;
    }

    public String getOuttemp1() {
        return outtemp1;
    }

    public void setOuttemp1(String outtemp1) {
        this.outtemp1 = outtemp1;
    }

    public String getOuttemp2() {
        return outtemp2;
    }

    public void setOuttemp2(String outtemp2) {
        this.outtemp2 = outtemp2;
    }

    public String getTemp1() {
        return temp1;
    }

    public void setTemp1(String temp1) {
        this.temp1 = temp1;
    }

    public String getTemp2() {
        return temp2;
    }

    public void setTemp2(String temp2) {
        this.temp2 = temp2;
    }

    private String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    private String manufactor;

    public String getManufactor() {
        return manufactor;
    }

    public void setManufactor(String manufactor) {
        this.manufactor = manufactor;
    }

    private String instantaneous;
    private String count;
    private String currents;

    public String getInstantaneous() {
        return instantaneous;
    }

    public void setInstantaneous(String instantaneous) {
        this.instantaneous = instantaneous;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getCurrents() {
        return currents;
    }

    public void setCurrents(String currents) {
        this.currents = currents;
    }

    /** 主键ID */
    private Long id;

    /** 帧头 */
    @Excel(name = "帧头")
    private String header;

    /** 长度 */
    @Excel(name = "长度")
    private String len;

    /** 功能码 */
    @Excel(name = "功能码")
    private String codes;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String eid;

    /** 时间 */
    @Excel(name = "时间")
    private Date time;

    /** 通断状态 */
    @Excel(name = "通断状态")
    private String colectsta;

    /** 通讯状态 */
    @Excel(name = "通讯状态")
    private String transprotsta;

    /** 计量点ID */
    @Excel(name = "计量点ID")
    private String meternum;

    /** 表类型 */
    @Excel(name = "表类型")
    private String type;

    /** 标号 */
    @Excel(name = "标号")
    private String valveid;

    /** 室内温度 */
    @Excel(name = "室内温度")
    private String indoortemp;

    /** 室内设置温度 */
    @Excel(name = "室内设置温度")
    private String indoorsettemp;

    /** 空 */
    @Excel(name = "空")
    private String nc;

    /** 最近两小时平均温度 */
    @Excel(name = "最近两小时平均温度")
    private String agvindoortemp;

    /** 空2 */
    @Excel(name = "空2")
    private String nc2;

    /** 进水温度 */
    @Excel(name = "进水温度")
    private String intemp;

    /** 回水温度 */
    @Excel(name = "回水温度")
    private String outtemp;

    /** 阀门开合角度 */
    @Excel(name = "阀门开合角度")
    private String valveangle;

    /** 累计工作时间 */
    @Excel(name = "累计工作时间")
    private String worktime;

    /** 空3 */
    @Excel(name = "空3")
    private String nc3;

    /** 累计阀门开启时间 */
    @Excel(name = "累计阀门开启时间")
    private String opentime;

    /** 空4 */
    @Excel(name = "空4")
    private String nc4;

    /** 实时时间 */
    @Excel(name = "实时时间")
    private String realtime;

    /** STF状态 */
    @Excel(name = "STF状态")
    private String ststa;

    /** 校验位 */
    @Excel(name = "校验位")
    private String crc;

    /** 是否为历史数据   0 是 1否  */
//    @Excel(name = "是否为历史数据   0 是 1否 ")
    private String history;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String field2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String field3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String field4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String field5;

    /** 所属部门id */
    @Excel(name = "所属部门id")
    private Long deptId;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String dept;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private String villageOrgna1;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentFullname;

    /** 行政区 */
    @Excel(name = "行政区")
    private String villageOrgna2;

    /** 末级站 */
    @Excel(name = "末级站")
    private String villageOrgna3;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String villageName;

    /** 小区编号 */
    @Excel(name = "小区编号")
    private String villageNo;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String buildingName;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    private String buildingNo;

    /** 单元名称 */
    @Excel(name = "单元名称")
    private String unitName;

    /** 门牌 */
    @Excel(name = "门牌")
    private String roomName;

    /** 房间编号 */
    @Excel(name = "房间编号")
    private String roomNo;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userCode;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String telephone;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String nodeId;

    /** 房间类型 */
    @Excel(name = "房间类型")
    private String roomType;

    /** 安装位置 */
    @Excel(name = "安装位置")
    private String location;

    /** 所属片区id */
    @Excel(name = "所属片区id")
    private Long areaId;

    /** 所属片区 */
    @Excel(name = "所属片区")
    private String areaName;

    /** 所属热力站id */
    @Excel(name = "所属热力站id")
    private Long heatId;

    /** 所属热力站 */
    @Excel(name = "所属热力站")
    private String heatName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHeader(String header)
    {
        this.header = header;
    }

    public String getHeader()
    {
        return header;
    }
    public void setLen(String len)
    {
        this.len = len;
    }

    public String getLen()
    {
        return len;
    }
    public void setCodes(String codes)
    {
        this.codes = codes;
    }

    public String getCodes()
    {
        return codes;
    }
    public void setEid(String eid)
    {
        this.eid = eid;
    }

    public String getEid()
    {
        return eid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public void setColectsta(String colectsta) {
        this.colectsta = colectsta;
    }

    public String getColectsta()
    {
        return colectsta;
    }
    public void setTransprotsta(String transprotsta)
    {
        this.transprotsta = transprotsta;
    }

    public String getTransprotsta()
    {
        return transprotsta;
    }
    public void setMeternum(String meternum)
    {
        this.meternum = meternum;
    }

    public String getMeternum()
    {
        return meternum;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setValveid(String valveid)
    {
        this.valveid = valveid;
    }

    public String getValveid()
    {
        return valveid;
    }
    public void setIndoortemp(String indoortemp)
    {
        this.indoortemp = indoortemp;
    }

    public String getIndoortemp()
    {
        return indoortemp;
    }
    public void setIndoorsettemp(String indoorsettemp)
    {
        this.indoorsettemp = indoorsettemp;
    }

    public String getIndoorsettemp()
    {
        return indoorsettemp;
    }
    public void setNc(String nc)
    {
        this.nc = nc;
    }

    public String getNc()
    {
        return nc;
    }
    public void setAgvindoortemp(String agvindoortemp)
    {
        this.agvindoortemp = agvindoortemp;
    }

    public String getAgvindoortemp()
    {
        return agvindoortemp;
    }
    public void setNc2(String nc2)
    {
        this.nc2 = nc2;
    }

    public String getNc2()
    {
        return nc2;
    }
    public void setIntemp(String intemp)
    {
        this.intemp = intemp;
    }

    public String getIntemp()
    {
        return intemp;
    }
    public void setOuttemp(String outtemp)
    {
        this.outtemp = outtemp;
    }

    public String getOuttemp()
    {
        return outtemp;
    }
    public void setValveangle(String valveangle)
    {
        this.valveangle = valveangle;
    }

    public String getValveangle()
    {
        return valveangle;
    }
    public void setWorktime(String worktime)
    {
        this.worktime = worktime;
    }

    public String getWorktime()
    {
        return worktime;
    }
    public void setNc3(String nc3)
    {
        this.nc3 = nc3;
    }

    public String getNc3()
    {
        return nc3;
    }
    public void setOpentime(String opentime)
    {
        this.opentime = opentime;
    }

    public String getOpentime()
    {
        return opentime;
    }
    public void setNc4(String nc4)
    {
        this.nc4 = nc4;
    }

    public String getNc4()
    {
        return nc4;
    }
    public void setRealtime(String realtime)
    {
        this.realtime = realtime;
    }

    public String getRealtime()
    {
        return realtime;
    }
    public void setStsta(String ststa)
    {
        this.ststa = ststa;
    }

    public String getStsta()
    {
        return ststa;
    }
    public void setCrc(String crc)
    {
        this.crc = crc;
    }

    public String getCrc()
    {
        return crc;
    }

    public String getHistory() {
        return history;
    }

    public void setHistory(String history) {
        this.history = history;
    }

    public void setField2(String field2)
    {
        this.field2 = field2;
    }

    public String getField2()
    {
        return field2;
    }
    public void setField3(String field3)
    {
        this.field3 = field3;
    }

    public String getField3()
    {
        return field3;
    }
    public void setField4(String field4)
    {
        this.field4 = field4;
    }

    public String getField4()
    {
        return field4;
    }
    public void setField5(String field5)
    {
        this.field5 = field5;
    }

    public String getField5()
    {
        return field5;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDept(String dept)
    {
        this.dept = dept;
    }

    public String getDept()
    {
        return dept;
    }
    public void setVillageOrgna1(String villageOrgna1)
    {
        this.villageOrgna1 = villageOrgna1;
    }

    public String getVillageOrgna1()
    {
        return villageOrgna1;
    }
    public void setDepartmentFullname(String departmentFullname)
    {
        this.departmentFullname = departmentFullname;
    }

    public String getDepartmentFullname()
    {
        return departmentFullname;
    }
    public void setVillageOrgna2(String villageOrgna2)
    {
        this.villageOrgna2 = villageOrgna2;
    }

    public String getVillageOrgna2()
    {
        return villageOrgna2;
    }
    public void setVillageOrgna3(String villageOrgna3)
    {
        this.villageOrgna3 = villageOrgna3;
    }

    public String getVillageOrgna3()
    {
        return villageOrgna3;
    }
    public void setVillageName(String villageName)
    {
        this.villageName = villageName;
    }

    public String getVillageName()
    {
        return villageName;
    }
    public void setVillageNo(String villageNo)
    {
        this.villageNo = villageNo;
    }

    public String getVillageNo()
    {
        return villageNo;
    }
    public void setBuildingName(String buildingName)
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName()
    {
        return buildingName;
    }
    public void setBuildingNo(String buildingNo)
    {
        this.buildingNo = buildingNo;
    }

    public String getBuildingNo()
    {
        return buildingNo;
    }
    public void setUnitName(String unitName)
    {
        this.unitName = unitName;
    }

    public String getUnitName()
    {
        return unitName;
    }
    public void setRoomName(String roomName)
    {
        this.roomName = roomName;
    }

    public String getRoomName()
    {
        return roomName;
    }
    public void setRoomNo(String roomNo)
    {
        this.roomNo = roomNo;
    }

    public String getRoomNo()
    {
        return roomNo;
    }
    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }

    public String getUserCode()
    {
        return userCode;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setNodeId(String nodeId)
    {
        this.nodeId = nodeId;
    }

    public String getNodeId()
    {
        return nodeId;
    }
    public void setRoomType(String roomType)
    {
        this.roomType = roomType;
    }

    public String getRoomType()
    {
        return roomType;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setAreaId(Long areaId)
    {
        this.areaId = areaId;
    }

    public Long getAreaId()
    {
        return areaId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setHeatId(Long heatId)
    {
        this.heatId = heatId;
    }

    public Long getHeatId()
    {
        return heatId;
    }
    public void setHeatName(String heatName)
    {
        this.heatName = heatName;
    }

    public String getHeatName()
    {
        return heatName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("header", getHeader())
            .append("len", getLen())
            .append("codes", getCodes())
            .append("eid", getEid())
            .append("time", getTime())
            .append("colectsta", getColectsta())
            .append("transprotsta", getTransprotsta())
            .append("meternum", getMeternum())
            .append("type", getType())
            .append("valveid", getValveid())
            .append("indoortemp", getIndoortemp())
            .append("indoorsettemp", getIndoorsettemp())
            .append("nc", getNc())
            .append("agvindoortemp", getAgvindoortemp())
            .append("nc2", getNc2())
            .append("intemp", getIntemp())
            .append("outtemp", getOuttemp())
            .append("valveangle", getValveangle())
            .append("worktime", getWorktime())
            .append("nc3", getNc3())
            .append("opentime", getOpentime())
            .append("nc4", getNc4())
            .append("realtime", getRealtime())
            .append("ststa", getStsta())
            .append("crc", getCrc())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("history", getHistory())
            .append("field2", getField2())
            .append("field3", getField3())
            .append("field4", getField4())
            .append("field5", getField5())
            .append("deptId", getDeptId())
            .append("dept", getDept())
            .append("villageOrgna1", getVillageOrgna1())
            .append("departmentFullname", getDepartmentFullname())
            .append("villageOrgna2", getVillageOrgna2())
            .append("villageOrgna3", getVillageOrgna3())
            .append("villageName", getVillageName())
            .append("villageNo", getVillageNo())
            .append("buildingName", getBuildingName())
            .append("buildingNo", getBuildingNo())
            .append("unitName", getUnitName())
            .append("roomName", getRoomName())
            .append("roomNo", getRoomNo())
            .append("userCode", getUserCode())
            .append("telephone", getTelephone())
            .append("nodeId", getNodeId())
            .append("roomType", getRoomType())
            .append("location", getLocation())
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("heatId", getHeatId())
            .append("heatName", getHeatName())
            .append("manufactor", getManufactor())
            .append("state", getState())
            .append("instantaneous", getInstantaneous())
            .append("count", getCount())
            .append("currents", getCurrents())
            .append("intemp1 ", getIntemp1())
            .append("intemp2", getIntemp2())
            .append("outtemp1", getOuttemp1())
            .append("outtemp2", getOuttemp2())
            .append("temp1", getTemp1())
            .append("temp2", getTemp2())
            .append("homeType", getHomeType())
            .append("area", getArea())
            .toString();
    }
}
